package com.xiaomazi.order.client;

import com.xiaomazi.servicebase.entity.UserInfoToOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "service-ucenter")
public interface UserClient {
    @GetMapping("/educenter/member/getUserInfoToOrderByUserId/{userId}")
    UserInfoToOrder getUserInfoToOrderByUserId(@PathVariable String userId);
}
